package com.smartalarmclock.UI;

import java.util.Set;

import com.smartalarmclock.Model.IContact;

/**
 * An interface for all activities which will need to call the SelectContactsDialogFragment
 * so the user can select contacts for the activity
 */
public interface IContactSelector {

	/**
	 * @return the currently selected contacts
	 */
	public Set<IContact> GetCurrentlySelectedContacts();
	
	/**
	 * Callback method for when the contacts dialog is closed after selecting the wanted contacts
	 * @param selectedContacts the selected contacts
	 */
	public void OnSelected(Set<IContact> selectedContacts);
	
	/**
	 * Callback method for when the contacts dialog is closed after clicking the cancel button
	 */
	public void OnCanceled();
}
